package com.andong.utils;

import java.util.List;

/**
 * ClassName BaseContext
 *
 * @author 王海云
 * @version 1.0.0
 * @since 2023/11/25 1:16
 */
public class BaseContext {
    private static final ThreadLocal<List<Object>> threadLocal = new ThreadLocal<>();
    public static void setCurrentIdAndIdentity(List<Object> list) {
        threadLocal.set(list);
    }
    public static List<Object> getCurrentIdAndIdentity() {
        return threadLocal.get();
    }
}
